﻿
$(initPage);
function initPage() {
	$("#checkConDiv").height($("#etlConTB").height() - 77);
}

function openLogs(systemCode, etlProcID) {
	var refreshTime = $("#refreshTime",window.parent.document).val();
	var url = BASE_PATH + "m/main_monitor/initquerylog";
	url += "?refreshTime=" + refreshTime;
	url += "&systemCode=" + systemCode;
	url += "&etlProcID=" + etlProcID;
	url += "&startLogID=" + $("#startLogID").val();
	window.showModalDialog(url,"","dialogWidth:640px;dialogHeight:480px;help:no;center:yes;status:no");
}

function openMCLogs() {
	var refreshTime = $("#refreshTime",window.parent.document).val();
	var url = BASE_PATH + "m/main_monitor/initquerymclog";
	url += "?refreshTime=" + refreshTime;
	url += "&startLogID=" + $("#startLogID").val();
	window.showModalDialog(url,"","dialogWidth:640px;dialogHeight:480px;help:no;center:yes;status:no");
}